//-----------------------------------------------------------------------
// <copyright file="OrganizationFinancial.cs" company="Procure Development">
//     Copyright (c) Procure Development. All rights reserved.
// </copyright>
// <author>Victor Procure</author>
//-----------------------------------------------------------------------

using System;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace SManagement.Models
{
    /// <summary>
    /// The intersection of FinancialAccount and OrganizationCalendarSession
    /// (representing an AccountingPeriod) and containing the values for that
    /// accounting period.
    /// </summary>
    public class OrganizationFinancial
    {
        #region Instance Properties

        [BsonId]
        public ObjectId _id { get; set; }

        public ObjectId FinancialAccountId { get; set; }

        public ObjectId OrganizationCalendarSessionId { get; set; }

        public decimal? ActualValue { get; set; }

        public decimal? BudgetedValue { get; set; }

        #endregion Instance Properties
}

}